/**
 * @description 用户管理模块路由
 */

const timeout = require("connect-timeout");
const express = require("express");
var router = express.Router();

const { register, login } = require("../../controller/infoController")
router.post("/register", timeout("5s"), register)
router.post("/login", timeout("5s"), login)


module.exports = router;